# -*- utf-8 -*-
# author : li shi jie
# Email : yr785339493@qq.com
import json
from itertools import product
f = open('item.csv', 'r', encoding='utf-8')
html = f.readlines()
range = range(1, 50)
for item in product(html[5:], range):
    page = item[1]
    dict_item = json.loads(item[0].strip())
    item_id = dict_item.get('item_id')
    title = dict_item.get('title')
    print(item_id, title, page)